package com.wbk.system.feign;

import com.wbk.system.qo.LotteryAuditResultQO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import com.wbk.system.qo.StoreAuditResultQO;
import result.Result;

@Component
@FeignClient(value = "lottery-system-system")
public interface EmailFeign {

    @PostMapping("/system/api/email/storeAuditResult")
    Result<String> storeAuditResult(@RequestBody StoreAuditResultQO storeAuditResultQO);

    @PostMapping("/system/api/email/lotteryAuditResult")
    Result<String> lotteryAuditResult(@RequestBody LotteryAuditResultQO lotteryAuditResultQO);
}
